﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CreditCardCompareRequest
/// </summary>
/// 
namespace CE.CreditCard
{
    public class CreditCardCompareRequest
    {
        private Int64 _cccappreqid;
        private Int64 _refceuserid; 
        private string _emailaddress;
        private string _fullname;
        private string _mobileno;
        private DateTime _appdob;
        private string _idtype;
        private Int32 _anualincome;
        private Int32 _ccclass;
        private Int32 _usageofcard;
        #region Comment @ 16042010
        //private bool _lowinsratepurchase;
        //private bool _lowinsratecash;
        //private bool _lowanualfee;
        //private bool _lowbaltransrate;
        //private bool _insfreeperiod;
        //private bool _rewardsprogram;
        //private bool _travelinsurance;
        #endregion
        private Int64 _viewedetailid; 
        private DateTime _createddate;
        private DateTime _modifieddate;

        public CreditCardCompareRequest()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 CCCAppReqId
        {
            get { return _cccappreqid; }
            set { _cccappreqid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string EmailAddress
        {
            get { return _emailaddress; }
            set { _emailaddress = value; }
        }

        public string FullName
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public string MobileNo
        {
            get { return _mobileno; }
            set { _mobileno = value; }
        }

        public DateTime DOB
        {
            get { return _appdob; }
            set { _appdob = value; }
        }

        public string IdType
        {
            get { return _idtype; }
            set { _idtype = value; }
        }

        public Int32 AnualIncome
        {
            get { return _anualincome; }
            set { _anualincome = value; }
        }

        public Int32 CreditCardClass
        {
            get { return _ccclass; }
            set { _ccclass = value; }
        }

        public Int32 UsageofCard
        {
            get { return _usageofcard; }
            set { _usageofcard = value; }
        }

        #region Comment @ 16042010
        //public bool LowInsRatePurchase
        //{
        //    get { return _lowinsratepurchase; }
        //    set { _lowinsratepurchase = value; }
        //}

        //public bool LowInsRateCash
        //{
        //    get { return _lowinsratecash; }
        //    set { _lowinsratecash = value; }
        //}

        //public bool LowAnualFee
        //{
        //    get { return _lowanualfee; }
        //    set { _lowanualfee = value; }
        //}

        //public bool LowBalTransRate
        //{
        //    get { return _lowbaltransrate; }
        //    set { _lowbaltransrate = value; }
        //}

        //public bool InsFreePeriod
        //{
        //    get { return _insfreeperiod; }
        //    set { _insfreeperiod = value; }
        //}

        //public bool RewardsProgram
        //{
        //    get { return _rewardsprogram; }
        //    set { _rewardsprogram = value; }
        //}

        //public bool TravelInsurance
        //{
        //    get { return _travelinsurance; }
        //    set { _travelinsurance = value; }
        //}
        #endregion

        public Int64 ViewedDetailId
        {
            get { return _viewedetailid; }
            set { _viewedetailid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _cccappreqid = 0;
            _refceuserid = 0;
            _emailaddress = "";
            _fullname = "";
            _mobileno = "";
            _appdob = new DateTime();
            _appdob = CE.Global.General.GetUTCDateTime();
            _idtype = "";
            _anualincome = -1;
            _ccclass = -1;
            _usageofcard = -1;

            #region Comment @ 16042010
            //_lowinsratepurchase = true;
            //_lowinsratecash = true;
            //_lowanualfee = true;
            //_lowbaltransrate = true;
            //_insfreeperiod = true;
            //_rewardsprogram = true;
            //_travelinsurance = true;
            #endregion
            _viewedetailid = 0;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }

    }
}
